set

operator fun WebStorage.set(key: String, value: String)
operator fun WebStorage.set(key: String, value: String)

Adds the item with the specified key and value to the storage, or updates it if the item with the given key already exists.

key and value strings are allowed to be empty or blank.

Since

8.0.0